<template>
  <div class="footer">
    <div class="footer-content banxin flex">
      <!-- 底部logo -->
      <div class="footer-logo">
        <img src="../../assets/images/home/slogan.png" alt="" />
        <p>
          叩丁狼是一家专注于培养高级IT技术人才，为学员提供定制化IT职业规划方案及意见咨询服务的教育科技公司，为您提供海量优质课程，以及创新的线上线下学习体验，帮助您获得全新的个人发展和能力提升。
        </p>
      </div>
      <!-- 中间联系方式 -->
      <div class="footer-relation">
        <ul class="relation-list flex">
          <li class="relation-text footer-wx">
            <img src="../../assets/images/home/wx.png" alt="" /> 微信公众号
          </li>

          <li class="relation-text footer-wb">
            <a href="" class="footer-xl">新浪微博</a>
          </li>

          <li class="relation-text footer-waiter">
            <img src="../../assets/images/home/service.png" alt="" /> 在线客服
          </li>
        </ul>
      </div>
      <!-- 联系电话 -->
      <div class="footer-phone">
        <p>全国免费咨询热线：</p>
        <h2>020-85628002</h2>
      </div>
    </div>
  </div>
</template>
 
<script>
export default {
  data() {
    return {};
  },
};
</script>
 
<style lang = "less" scoped>
.footer {
  background: #242b39;
  .footer-content {
    height: 240px;
    flex-direction: row;
    align-items: center;
    .footer-logo {
      width: 426px;
      padding: 30px 0 0 0;
      box-sizing: border-box;
      img {
        width: 100%;
      }
      p {
        font-family: MicrosoftYaHei;
        font-size: 12px;
        font-weight: normal;
        font-stretch: normal;
        letter-spacing: 0px;
        color: #7d879a;
        padding-top: 22px;
        box-sizing: border-box;
      }
    }
  }
  .footer-relation {
    flex: 1;
    margin-top: 86px;
    position: relative;
    .relation-list {
      flex-direction: row;
      justify-content: center;
      align-items: center;
    }
    .relation-text {
      padding: 0 8px;
      box-sizing: border-box;
      font-family: MicrosoftYaHei;
      font-size: 16px;
      font-weight: normal;
      font-stretch: normal;
      line-height: 21px;
      letter-spacing: 0px;
      color: #7d879a;
      position: relative;
      cursor: pointer;
      border-right: 1 px solid #7d879a;
      text-decoration: none;
      img {
        display: none;
      }
    }
    .footer-xl {
      font-size: 16px;
      font-weight: normal;
      font-stretch: normal;
      line-height: 21px;
      letter-spacing: 0px;
      color: #797d86;
      text-decoration: none;
    }
    .footer-wx {
      border-right: 1px solid #797d86;
      img {
        position: absolute;
        top: -110px;
        left: 0px;
      }
      &:hover img {
        display: block;
      }
    }
    .footer-wb {
      border-right: 1px solid #797d86;
    }
    .footer-waiter {
      img {
        position: absolute;
        top: -110px;
        left: -5px;
      }
      &:hover img {
        display: block;
      }
    }
  }
  .footer-phone {
    margin-top: 60px;
    p {
      font-family: MicrosoftYaHei;
      font-size: 14px;
      margin-bottom: 10px;
      letter-spacing: 0px;
      color: #7d879a;
    }
    h2 {
      font-family: SourceHanSansSC-Bold;
      font-size: 28px;
      letter-spacing: 0px;
      color: #ffffff;
      margin-top: 7 px;
      line-height: 24px;
    }
  }
}
</style>